home *** CD-ROM | disk | FTP | other *** search
/ Best of Everything / Best of Everything - Pocket PC Magazine (PocketPCMag)(2003).BIN / FreegoodiesCD / dl / TPuzzleCE.exe / ce.hpc_sh3.CAB / TPuzzleW.001 < prev    next >
Text File  |  2000-12-04  |  13KB  |  246 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <HTML>
  3. <HEAD>
  4. <META HTTP-EQUIV="Content-Type" Content="TPuzzleW.htm#start_topic">
  5. <title>The Triangle Puzzle Help</title>
  6. </HEAD>
  7. <BODY BGCOLOR=#FFFFFF TEXT=#000000>
  8. <!-- PegHelp -->
  9. <a name="start_topic"><h3>The Triangle Puzzle<small><sup>TM</sup></small> Help</h3></a>
  10. <h4>v1.00(CE): Win32/WinCE</h4>
  11. <p>Welcome to The Triangle Puzzle<small><sup>TM</sup></small>! Click here for <a href="TPuzzleW.htm#terms_of_use">Terms of Use</a>.</p>
  12. <p>Please choose from the help topics below:</p>
  13. <a href="TPuzzleW.htm#intro">Introduction</a><br>
  14. <a href="TPuzzleW.htm#playing">Playing</a><br>
  15. <a href="TPuzzleW.htm#install">Installing/Uninstalling</a><br>
  16. <a href="TPuzzleW.htm#terms_of_use">Terms of Use</a><br>
  17. <a href="TPuzzleW.htm#credits">Credits</a><br>
  18. <a href="TPuzzleW.htm#why">Why I Wrote This</a><br>
  19. <a href="TPuzzleW.htm#about_the_author">About the Author</a>
  20. <!-- PegHelp -->
  21. <hr>
  22. <a name="intro"><h3>Introduction</h3></a>
  23. <p>Thank you for choosing The Triangle Puzzle<small><sup>TM</sup></small>, the
  24. fun, challenging animated puzzle game with hints! With versions available for Windows
  25. (95/98/NT/2000), Windows CE, PalmOS and also Linux, etc. (Java version)!</p>
  26. <p>
  27. Be sure to visit <a href="http://www.thisiscool.com/" target="_blank">http://www.thisiscool.com/</a> for tips, tricks and updates.</p>
  28. <p>
  29. This documentation is for both the Win32 (Win95/98/NT4.0/2000) and Windows CE
  30. versions.</p>
  31. <p><b>International users</b>: for a translation of these instructions in your
  32. language, go to <a href="http://babelfish.altavista.digital.com/">http://babelfish.altavista.digital.com/</a>
  33. and enter the URL <a href="http://www.thisiscool.com/TPuzzleW.htm">http://www.thisiscool.com/TPuzzleW.htm</a>.</p>
  34. <p>Usage of this program indicates your acceptance of the <a href="TPuzzleW.htm#terms_of_use">Terms of Use</a>. If you do not agree with these terms, exit the program immediately and uninstall it.
  35. </p>
  36. <p><b>Note</b>: this help file is the same for both the WinCE and Win32
  37. versions. If you're viewing this on your Handheld or Pocket PC, you won't be
  38. able to navigate to the websites that this help file links to.</p>
  39. <p><b>WinCE Advanced Users:</b> if you have Pocket Internet Explorer on your WinCE
  40. device, you can open this HTML file (<code>\Windows\TPuzzleW.htm</code>) and jump to all links.</p>
  41. <a href="TPuzzleW.htm#start_topic">Main Contents</a><br>
  42. <a href="TPuzzleW.htm#playing">Playing</a>
  43. <!-- PegHelp -->
  44. <hr>
  45. <a name="playing"><h3>Playing</h3></a>
  46. <h4>The Rules</h4>
  47. <p>The "triangle puzzle"  is an inverted triangle with 15 holes.
  48. To play:
  49. <ul>
  50.   <li>remove a starting peg from any hole</li>
  51.   <li>choose an arbitrary peg and the jump either horizontally or diagonally
  52.     over an occupied hole into an empty hole. Here are examples of legal moves:</li>
  53. </ul>
  54. <p align="center"><img border="1" src="TPuzzleW.2bp" width="173" height="96">
  55. <ul>
  56.   <li>
  57.     <p align="left">remove the peg you jumped over. Repeat this process until
  58.     there are no moves left. The object of the game is to end up with exactly
  59.     one peg.</p>
  60.   </li>
  61. </ul>
  62. <h4 align="left">The Program</h4>
  63. <p align="left">To play the game,
  64. <ul>
  65.   <li>single-click on the starting peg to remove</li>
  66.   <li>for each move, single-click on the peg to move, then single-click on the
  67.     hole to jump to</li>
  68.   <li>click on the <strong>[Undo]</strong> and <strong>[Redo]</strong> buttons
  69.     to undo/redo a move</li>
  70.   <li>click on <strong>[Hint]</strong> to have the program suggest a move</li>
  71.   <li>click on the <i>Solvable</i> checkbox
  72.     to have the computer indicate whether a solution to the puzzle exists after
  73.     each move you make</li>
  74.   <li>click on the <b>[New Game]</b> button to start a
  75.     new game</li>
  76.   <li>click on <strong>[Solve]</strong> to have the program solve the puzzle</li>
  77. </ul>
  78. <p>
  79. <a href="TPuzzleW.htm#start_topic">Main Contents</a><br>
  80. <a href="TPuzzleW.htm#install">Installing/Uninstalling</a>
  81. <!-- PegHelp -->
  82. <hr>
  83. <a name="install"><h3>Installing/Uninstalling</h3></a>
  84. <h4>On Win32 Machines</h4>
  85. <p>To install, run the
  86. setup program. To uninstall, use <i>Add/Remove Programs</i> from
  87. <b>[Start Menu]</b> > <i>Settings</i> > <i>Control Panel</i>.</p>
  88. <h4>On WinCE Machines</h4>
  89. <p>To install, run the setup program on your Win32 desktop. </p>
  90. <p>There are two ways to uninstall. We will assume you're using <a href="http://www.microsoft.com/mobile/downloads/activesync.asp">Microsoft
  91. ActiveSync 3.x</a> to communicate with your WinCE device. If you have an older
  92. version, please upgrade to avoid going insane, especially if you're running
  93. Windows NT.</p>
  94. <h5>Preferred Method</h5>
  95. <ul>
  96.   <li>from ActiveSync, choose <i>Tools</i>/<i>Add/Remove Programs...</i></li>
  97.   <li>select <i>Triangle Puzzle</i> from the applications list (don't try to uncheck
  98.     it, just select it)</li>
  99.   <li>click the <b>[Remove]</b> button</li>
  100. </ul>
  101. <h5>Alternate Method</h5>
  102. <p>On your WinCE device, use <i>Remove Programs</i> from
  103. <b>[Start Menu]</b> > <i>Settings</i> [> <i>Control Panel</i>]. This will
  104. leave a harmless, spurious entry on your desktop applications list.</p>
  105. <p>Note that it is not possible to uninstall, then reinstall the program
  106. using the application manager alone. I don't like cluttering your computer
  107. with unnecessary files, so you need to rerun the setup program to reinstall The
  108. Triangle Puzzle. The spurious entry in the applications list is due to a shortcoming
  109. in the WinCE Application Manager.</p>
  110. <a href="TPuzzleW.htm#start_topic">Main Contents</a><br>
  111. <a href="TPuzzleW.htm#playing">Playing</a>
  112. <!-- PegHelp -->
  113. <hr>
  114. <a name="terms_of_use"><h3>Terms of Use</h3></a>
  115. <p><b>The Triangle Puzzle</b><b><small><sup>TM</sup></small> Copyright © 2000 by Mohan Embar. All Rights Reserved.</b>
  116. </p>
  117. <p>The Triangle Puzzle is a trademark of Mohan Embar, Inc.
  118. </p>
  119. <p>Usage of this program indicates your acceptance of the following license conditions. If you do not agree with these terms, exit the program immediately and uninstall it.
  120. </p>
  121. <p>This program comes with no warranties, either express or implied. In no event will the copyright holder be liable from any damages resulting from the use of this software.
  122. </p>
  123. <p>This program is PropagandaWare. If you continue using this program seven days after the first use, you agree to visit the following websites:
  124. </p>
  125. <p><a href="http://www.mcspotlight.org" target="_blank">www.mcspotlight.org</a><a href="http://www.peta-online.org" target="_blank"><br>
  126. www.peta-online.org</a><a href="http://www.veganvillage.co.uk/vv/vegfam" target="_blank"><br>
  127. www.veganvillage.co.uk/vv/vegfam</a><a href="http://www.animalsong.org" target="_blank"><br>
  128. www.animalsong.org</a>
  129. </p>
  130. <p>You are exempt from this agreement if you do not have Internet access.
  131. </p>
  132. <p>Permission is granted to any individual or institution to copy or redistribute this software provided that:</p>
  133. <ul>
  134.   <li>it is not altered in any way</li>
  135.   <li>it is not sold for profit</li>
  136.   <li>this copyright notice is displayed</li>
  137.   <li>if made available for download on a non-FTP web page, that a link be made to
  138.     <a href="http://www.thisiscool.com" target="_blank">www.thisiscool.com</a> whenever possible</li>
  139. </ul>
  140. <p>Developed in C++ using Microsoft<sup>«</sup>:
  141. <ul>
  142. <li>Visual C++ 6.0 (Win32)</li>
  143. <li>eMbedded Visual C++ 3.0 (WinCE)</li>
  144. </ul>
  145. <a href="TPuzzleW.htm#start_topic">Main Contents</a>
  146. <!-- PegHelp -->
  147. <hr>
  148. <a name="credits"><h3>Credits</h3></a>
  149. <p>Dedicated to:</p>
  150. <ul>
  151.   <li>my Dutch wife, Wanda, for putting up with me, and</li>
  152.   <li>my daughter, Rebecca, for lighting up my life and forcing me to make each
  153.     precious minute count, and</li>
  154.   <li>to my grandfather and his memory</li>
  155. </ul>
  156. <p>
  157. <a href="TPuzzleW.htm#start_topic">Main Contents</a>
  158. </p>
  159. <!-- PegHelp -->
  160. <hr>
  161. <a name="why"><h3>Why I Wrote This</h3></a>
  162.  
  163. <h4>Technical Reasons</h4>
  164.  
  165. <p>I wrote the Triangle Puzzle to show off my Palm OS<sup>«</sup> C++
  166. application framework which is lightweight while still providing:</p>
  167.  
  168. <ul>
  169.   <li>an object-oriented framework for forms and databases</li>
  170.   <li>automatic support for program options</li>
  171.   <li>automatic support for reading Memo Pad records with configuration
  172.     information</li>
  173.   <li>built-in, configurable <i>About</i> and <i>Instruction</i> boxes</li>
  174.   <li>layered event handling</li>
  175. </ul>
  176. <p>Contact <a href="mailto:info@thisiscool.com">info@thisiscool.com</a> for a
  177. whitepaper, more details and licensing information.</p>
  178.  
  179. <p>I also wanted illustrate several programming techniques
  180. (although most play the game for its own
  181. sake and couldn't care less about these techniques):</p>
  182.  
  183. <ul>
  184.   <li>Applications can be written in such a way that they survive ports across
  185.     languages and operating systems with a minimum of change (current supported
  186.     languages: Delphi, C++, Java; operating systems:  Win32, WinCE, Palm
  187.     OS, and any OS with a decent Java implementation (which, unfortunately,
  188.     excludes all versions of Mac OS for the time being)).</li>
  189.   <li>Java isn't the only way to achieve cross-platform results, even with a
  190.     non-trivial user interface. The native C++ executables for Win32, WinCE and
  191.     Palm OS share the same, sizeable codebase with only a slight amount of
  192.     operating-system-specific code. What's more, the resultant executables are
  193.     small and fast (the 8K solution cache increases their size somewhat).</li>
  194.   <li>Java, on the other hand, can be pretty cool when appropriately used. The
  195.     Java implementation of the Triangle Puzzle runs beautifully on Win32,
  196.     Personal Java for Windows CE, Linux and HP-UX. (Unfortunately, Mac OS 9 and
  197.     X don't quite cut it, which is probably why companies like <a href="http://www.borland.com">Borland</a> don't
  198.     have Mac OS ports of <a href="http://www.borland.com/jbuilder">JBuilder</a>, for example.)</li>
  199. </ul>
  200. <h4>Personal Reasons</h4>
  201.  
  202. <p>I wrote the first incarnation of the Triangle Puzzle on a TRS-80 Model III
  203. when I was 14 years old. That summer, we had gone on a family vacation to Door
  204. County, Wisconsin and I found and bought the puzzle at a gift shop. I spent that
  205. entire vacation unsuccessfully trying to solve the puzzle myself. When I got
  206. home, I typed in the BASIC version (<a href="http://www.thisiscool.com/TPuzzleBASIC.txt" target="_blank">here's the
  207. listing!</a>) and started it running. It was churning away when my mom called
  208. out "Mohan, the pancakes are ready!" and I had to tear myself away.</p>
  209.  
  210. <p>When I came back upstairs, I saw <tt>SOLUTION FOUND:</tt> on my screen with a bunch of
  211. moves. My first reaction was: "Yeah right," and half-heartedly started
  212. making the moves. To my shock, the program had found a solution!</p>
  213.  
  214. <p>
  215. <a href="TPuzzleW.htm#start_topic">Main Contents</a>
  216. <!-- PegHelp -->
  217. <hr>
  218. <a name="about_the_author"><h3>About the Author</h3></a>
  219. <p>Mohan Embar is one of those rare finds that has both outstanding technical and communications
  220. skills. Both an excellent mentor and developer, he has worked in a wide variety of
  221. projects, such as object-oriented billing systems, servlet frameworks and low-level UNIX printer drivers. He has
  222. both domestic and international experience with companies such as Nortwestern Mutual Life, Deluxe Data Systems,
  223. France Telecom, SociΘtΘ GΘnΘrale, Cyco Software, and Kraft, Inc. He is
  224. fluent in English, French and Dutch and has a working knowledge of German,
  225. Spanish and Italian.</p>
  226. <p>Mohan is also bilingual in C++ and Java and loves switching back and forth
  227. between the two languages, while making full use of the idioms of both. Visit
  228. the <i>Cool Demos</i> section at <a href="http://www.thisiscool.com/demos.htm" target="_blank">http://www.thisiscool.com/demos.htm</a>
  229. to see more cool programs written in C++, Java and other languages like Delphi and
  230. JavaScript.</p>
  231. <p>Mohan Embar singlehandedly:</p>
  232. <ul>
  233.   <li>wrote the Delphi, Java and C++ (PalmOS, WinCE, Win32) versions of The Triangle Puzzle</li>
  234.   <li>authored the accompanying documentation and online help.</li>
  235. </ul>
  236. <p>Is it creative and well-programmed? Is the documentation nicely written? Check
  237. out his other demos, download the source code and scrutinize it. If you like his
  238. work, you can try to hire his services if he's available. Send inquiries to <a href="mailto:info@thisiscool.com">info@thisiscool.com</a>
  239. (Contract positions only: no full-time positions, headhunters or consulting
  240. firms, please.)</p>
  241. <a href="TPuzzleW.htm#start_topic">Main Contents</a>
  242. <!-- PegHelp -->
  243. </p>
  244. </BODY>
  245. </HTML> 
  246.